friends = ["0Alan","1Bob","2Casha","3Delen",45,"5Gim","6Helan"]
print(friends)
print(friends[0])
print(friends.index("0Alan"))
print(friends[1])
print(friends[2])
print(friends[3])
print(friends[4])
print(friends[-1])
print(friends[1:])
print(friends[1:3])
print(friends[:-1])
print(friends[-3:-1])
# print(friends[5]) #out of range
print(friends)
friends[1]="1Oneeve"
print(friends)